{cm var="list" uid="'.$info['user_id'].'" page="true" limit="10" order="cm_addtime desc"}{/cm}
{notempty name="list"}
<div style="display:none" id="commsub">
  <div class="comment-replay">
    <div class="comment-replay-arrow"></div>
    <div class="comment-replay-cnt">
      <form method="post" id="comm-sub-form">
        <div class="ui-form-item recm_id" id='0'>
          <textarea class="form-control" id="commtxt" name="recomm_txt" placeholder="请在这里发表您的个人看法，最多1000个字。" autocomplete="off"></textarea>
        </div>
        <div class="comment-replay-assist fn-clear clearfix"><span class="emotion pull-left" tabindex="1" data-id='0' id="row_id"><i class="icon iconfont text-color">&#xe64e;</i></span>
          <input type="hidden" id="comm_vid" value="0" name="comm_vid">
          <input type="hidden" id="comm_pid" value="0" name="comm_pid">
          <input type="hidden" id="comm_id" value="0" name="comm_id">
          <input type="hidden" id="comm_tuid" value="0" name="comm_tuid">
          <input type="hidden" id="comm_sid" value="0" name="comm_sid">
          <a rel="nofollow" class="ui-button btn btn-success btn-sm sub" href="javascript:void(0);">回复此人</a>
   {notempty name="GLOBALS['config']['user']['sys']['user_code']"}
 <div class="pull-right" style="padding:0px 5px">
 <span id="validate-zanpian"><label><img class="validate-img" src="{:url('home/verify/index',array('t'=>time()))}"></label></span>
 </div>
 <div class="pull-right p-0">
<input class="form-control" style="width:100px; text-align:center" data="validate" name="validate" type="text" placeholder="验证码">
</div>
{/notempty}          
          
          </div>
      </form>
    </div>
  </div>
</div>
<div class="user-home m-0">
<ul class="ui-comment fn-clear" id="datalist">
{volist name="list" id="zanpian"}
{php}
$infos=get_info_find($zanpian['cm_sid'],$zanpian['cm_vid'],$GLOBALS['config']['model'][$zanpian['cm_sid']]['name'].'_id');
$name=$infos[$GLOBALS['config']['model'][$zanpian['cm_sid']]['name'].'_name'];
$type=$GLOBALS['config']['model'][$zanpian['cm_sid']]['title'];
$url=zanpian_read_url('home/'.$GLOBALS['config']['model'][$zanpian['cm_sid']]['name'].'/read',$infos);
{/php}
<li><div class="comment-avatar"><a href="javascript:void(0);"> <img src="{:zanpian_avatar_url($info)}" alt="{$info.user_nickname}"></a></div><div class="comment-post-self"><div class="comment-post-arrow"></div> <div class="comment-post-cnt"> <div class="comment-body"> <div class="comment-top"><span class="user"><a href="{:zanpian_user_url('user/home/index',$info)}" target="_blank">{$info.user_nickname}</a> : </span>
{eq name="zanpian.cm_pid" zanpian="0"}
评论了<span class="name"><a href='{$url}' target='_blank'>【{$type}】{$name}</a></span>
{else/}
{neq name="zanpian.cm_tid" zanpian="0"}
 回复了<span style="color:#90">&nbsp;<a href="{:zanpian_user_url('user/home/index',array('user_id'=>$zanpian['cm_tuid']))}" target='_blank'>{:get_user_info($zanpian['cm_tuid'],'user_id','user_nickname')}</a>&nbsp;</span>
 {else/}{:gettan($zanpian['cm_pid'])}{/neq}
 在 <span class="name"><a href='{$url}' target='_blank'>【{$type}】{$name}</a></span><span>的评论</span>
{/eq}
<span class="time">{$zanpian['cm_addtime']|date='Y-m-d H:i:s',###}</span></div><div class="comment-text"><p>{$zanpian['cm_content']|strip_tags|get_emots}</p>
</div><div class="comment-assist fn-clear"> <p class="fn-left"><span class="digg"><a href="javascript:void(0)" class="sup" data-id="{$zanpian['cm_id']}" data-type="up" data-url="{:zanpian_user_url('home/ajax/digg',array('id'=>$zanpian['cm_id'],'type'=>'up'))}" >支持(<strong>{$zanpian["cm_up"]}</strong>)</a></span><span class="digg"><a href="javascript:void(0)" class="opp" data-id="{$zanpian['cm_id']}" data-type="down" data-url="{:zanpian_user_url('home/ajax/digg',array('id'=>$zanpian['cm_id'],'type'=>'down'))}">反对(<strong>{$zanpian["cm_down"]}</strong>)</a></span></p> 
<p class="fn-right"><a href="javascript:void(0)" data-vid="{$zanpian['cm_vid']}" data-id="{$zanpian['cm_id']}" data-pid="{$zanpian['cm_pid']}" data-sid="{$zanpian['cm_sid']}" data-tid="{$zanpian['cm_tid']}" data-tuid="{$zanpian['cm_tuid']}" class="reply">回复</a></p>
</div> <div id="rep{$zanpian["cm_id"]}" class="comms"></div></div>
{cm pid="'.$zanpian['cm_id'].'" sid="'.$zanpian['cm_sid'].'" order="cm_addtime desc" id="sub" key="kkk"}
{php}$sublou=count($__LIST__)-$kkk+1;{/php}
<div class="comment-sub">
<div class='comment-top'><span class='sublou'>{$sublou}.楼</span><span class="user"><a href="{:zanpian_user_url('user/home/index',array('id'=>$sub['cm_tuid']))}" target="_blank">{$sub['user_nickname']}</a></span> : {:gettan($sub['cm_tid'])}<span class="time">{$sub['cm_addtime']|date='Y-m-d H:i:s',###}</span></div>
<div class="comment-text">{$sub['cm_content']|strip_tags|get_emots}</div>
<div class='comment-assist fn-clear'>
<p class='fn-left'><span class='digg'><a href='javascript:void(0)' class='sup' data-id="{$sub['cm_id']}" data-type="up" data-url="{:zanpian_user_url('home/ajax/digg',array('id'=>$sub['cm_id'],'type'=>'down'))}">支持(<strong>{$sub['cm_up']}</strong>)</a></span><span class='digg'><a href='javascript:void(0)' class='opp' data-id="{$sub['cm_id']}" data-type="down" data-url="{:zanpian_user_url('home/ajax/digg',array('id'=>$sub['cm_id'],'type'=>'up'))}">反对(<strong>{$sub['cm_down']}</strong>)</a></span></p>
<p class="fn-right"><a href="javascript:void(0)" data-vid="{$zanpian['cm_vid']}" data-id="{$sub['cm_id']}" data-pid="{$sub['cm_pid']}" data-sid="{$zanpian['cm_sid']}" data-tid="{$sub['cm_id']}" data-tuid="{$sub['cm_uid']}" class="reply">回复</a></p>
</div>
<div id="rep{$sub['cm_id']}" class="comms"></div>
</div>
{/cm}
{cm tid="'.$zanpian['cm_id'].'" sid="'.$zanpian['cm_sid'].'" order="cm_addtime desc" id="stb" key="kkk"}
{php}$stblou=count($__LIST__)-$kkk+1;{/php}
<div class="comment-sub">
<div class='comment-top'><span class='stblou'>{$stblou}.楼</span> <span class="user"><a href="{:zanpian_user_url('user/home/index',array('id'=>$stb['cm_tuid']))}" target="_blank">{$stb['user_nickname']}</a></span>:<span class="time">{$stb['cm_addtime']|date='Y-m-d H:i:s',###}</span></div>
<div class="comment-text">{$stb['cm_content']|strip_tags|get_emots}</div>
<div class='comment-assist fn-clear'>
<p class='fn-left'><span class='digg'><a href='javascript:void(0)' class='sup' data-id="{$stb['cm_id']}" data-type="up" data-url="{:zanpian_user_url('home/ajax/digg',array('id'=>$stb['cm_id'],'type'=>'down'))}">支持(<strong>{$stb['cm_up']}</strong>)</a></span><span class='digg'><a href='javascript:void(0)' class='opp' data-id="{$stb['cm_id']}" data-type="down" data-url="{:zanpian_user_url('home/ajax/digg',array('id'=>$stb['cm_id'],'type'=>'up'))}">反对(<strong>{$stb['cm_down']}</strong>)</a></span></p>
<p class="fn-right"><a href="javascript:void(0)" data-vid="{$zanpian['cm_vid']}" data-id="{$stb['cm_id']}" data-pid="{$stb['cm_pid']}" data-sid="{$zanpian['cm_sid']}" data-tid="{$stb['cm_id']}" data-tuid="{$stb['cm_uid']}" class="reply">回复</a></p>
</div>
<div id="rep{$stb['cm_id']}" class="comms"></div>
</div>
{/cm}
</div> </div></li>
{/volist}
</ul>	
</div>
 <div class="clearfix"></div>
   <div class="box-page clearfix ajax-page" id="long-page"><ul id="pages">{$list->render()}</ul></div>
{/notempty}  